﻿using System;
using System.Collections.Generic;
using System.Text;
using ZoneFiveSoftware.Common.Data.Fitness;

namespace DistributionPlugin.Controller
{
    class PaceDistributionActivityInfoOptions : IActivityInfoOptions
    {
#region IActivityInfoOptions Members

        public int CadenceCutoff
        {
            get { return PluginMain.GetApplication().SystemPreferences.AnalysisSettings.CadenceCutoff; }
        }

        public int CadenceSmoothingSeconds
        {
            get { return PluginMain.GetApplication().SystemPreferences.AnalysisSettings.CadenceSmoothingSeconds; }
        }

        public int ElevationSmoothingSeconds
        {
            get { return PluginMain.GetApplication().SystemPreferences.AnalysisSettings.ElevationSmoothingSeconds; }
        }

        public int HeartRateSmoothingSeconds
        {
            get { return PluginMain.GetApplication().SystemPreferences.AnalysisSettings.HeartRateSmoothingSeconds; }
        }

        public bool IncludePaused
        {
            get { return false; }
        }

        public bool IncludeStopped
        {
            get { return false; }
        }

        public int PowerCutoff
        {
            get { return PluginMain.GetApplication().SystemPreferences.AnalysisSettings.PowerCutoff; }
        }

        public int PowerSmoothingSeconds
        {
            get { return PluginMain.GetApplication().SystemPreferences.AnalysisSettings.PowerSmoothingSeconds; }
        }

        public int SpeedSmoothingSeconds
        {
            get { return 1; }
        }

#endregion
    }
}
